package com.xbongbong.pro.customercommunicate.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 客户动态列表（项目日志）入参
 * @author zheng.li
 */

@Getter
@Setter
@ToString
public class CustomerDynamicListDTO extends BaseDTO {

    /**
     * 客户id
     */
    @NotNull(message = "{dto.msg.customerDynamicList.customerId.NotNull}")
    private Long customerId;
    /**
     * 应用id
     */
    private Long appId;
    /**
     * 菜单id
     */
    private Long menuId;
    /**
     * 表单id
     */
    private Long formId;
    /**
     * 页数
     */
    private Integer page;
    /**
     * 每页数据数
     */
    private Integer pageSize;

    public CustomerDynamicListDTO(){
        this.page = 1;
        this.pageSize = 10;
    }
}
